package com.kgc.est.feignService;

import com.kgc.est.request.AppointmentReq;
import com.kgc.est.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "est-provider")
public interface MaintainOrderService {

    @PostMapping("/maintain/submit")
    Result submit(@RequestBody AppointmentReq appointmentReq);

}
